package demo1;

/**
 * @Author liangzai
 * @Description:
 */
public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog("大黄",20);//通过new来实例化
        dog.eat();
    }
}
